AdaptationConfig

class AdaptationConfig(startupBitrate: Int, maxSelectableVideoBitrate: Int, isRebufferingAllowed: Boolean, preload: Boolean) : Parcelable

Configures the adaptation logic.

Constructors

AdaptationConfig
Link copied to clipboard
fun AdaptationConfig(startupBitrate: Int = -1, maxSelectableVideoBitrate: Int = DEFAULT_MAX_SELECTABLE_VIDEO_BITRATE, isRebufferingAllowed: Boolean = true, preload: Boolean = DEFAULT_PRELOAD)

Types

Companion
Link copied to clipboard
object Companion

Properties

isRebufferingAllowed
Link copied to clipboard
@SerializedName(value = allowRebuffering)
var isRebufferingAllowed: Boolean = true
Specifies whether rebuffering is allowed.
maxSelectableVideoBitrate
Link copied to clipboard
var maxSelectableVideoBitrate: Int
Specifies the upper bitrate boundary for video qualities.
preload
Link copied to clipboard
var preload: Boolean
Specifies whether the player preloads the content.
startupBitrate
Link copied to clipboard
var startupBitrate: Int
The bitrate the player should start playback with in bits per second.
videoAdaptation
Link copied to clipboard
var videoAdaptation: VideoAdaptation? = null
A callback to customize the player's adaptation logic.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)